/**
 * PageMarket
 * ReportAction.java
 * com.android.pagemarket.io.protocol.in
 * 
 */
package com.android.pagemarket.io.protocol.in;

import com.android.pagemarket.io.protocol.out.HttpResult;


/*********************************************************
 * @author : zhaohua
 * @version : 2012-11-5
 * @see : 留言接口
 * @Copyright : copyrights reserved by personal 2007-2012
 **********************************************************/
public class ReportAction extends HttpAction<HttpResult>
{
//    companyName 是   C   公司名称
//    companyNum  否   C   公司编号
//    contactCall 是   C   公司联系方式
//    content 是   C   内容
    
    public ReportAction(String companyName,String contactCall, String content)
    {
        super("11");
        addJsonParam("companyName", companyName);
        addJsonParam("contactCall", contactCall);
        addJsonParam("content", content);
    }
    
    public void setCompanyNum(String companyNum)
    {
        addJsonParam("companyNum", companyNum);
    }

    @Override
    protected HttpResult parseJson(String response) throws Exception
    {
        HttpResult one = new HttpResult();
        one.parseResult(response);
        return one;
    }

}
